{% extends "module/common.html" %}
	{% block handle %}
    	var handle={
    		name:'bean',
    		serv:'table'
    	};
    	  	          
    {% endblock %}
    {% block listhead %}
                   
		var listHeadCfg={
			name:{name:'名称',css:{width:'10%'}},
			package:{name:'包',css:{width:'15%'}},
			remark:{name:'备注',css:{width:'15%'}},
			fields:{name:'字段',css:{width:'40%'}},    
			ctrl:{name:'操作',css:{width:'20%'},bindFunc:true}
		}
    	
		var renderTemplate=$("<div class='table_template'>"+
								"<div class='tr'>"+
										"<div class='td' jtext='name'></div>"+
										"<div class='td' jtext='package'></div>"+
										"<div class='td' jtext='remark'></div>"+
										"<div class='td' jtext='fields'></div>"+                                       																														
										"<div class='td' jtext='ctrl'></div>"+			
								"</div>"+
							"</div>");
        
    {% endblock %}
    {% block listfunc %}
		tableHandle.addFunc("ctrl",function(){
			return $(
        			"<button class='btn' callFunc='click:editTemplate'>编辑</button>"+           		                            
					"<button class='btn' callFunc='click:delTemplate'>删除</button>");
		},body);	
		tableHandle.addFunc("name",yanhx.findFunc("$detail"),body);	
	{% endblock %}	
	{% block other %}
       
       
        
    {% endblock %}    		